// 获取指定用户资料
module.exports.getUserProfile = async (req, res, next) => {
    try{
        res.send('get /:username')
    } catch(err){
        next(err)
    }
}
// 关注用户
module.exports.toFollow = async (req, res, next) => {
    try{
        res.send('post /:username/follow')
    } catch(err){
        next(err)
    }
}
// 取消关注
module.exports.cancelFollow = async (req, res, next) => {
    try{
        res.send('delete /:username/follow')
    } catch(err){
        next(err)
    }
}